package com.sna.snaapplication.service.File.impl;

import com.sna.snaapplication.entity.File.FileHistoryEntity;
import com.sna.snaapplication.mapper.FileHistoryMapper;
import com.sna.snaapplication.service.File.FileHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FileHistoryServiceImpl implements FileHistoryService {

    @Autowired
    private FileHistoryMapper fileHistoryMapper;

    @Override
    public void save(FileHistoryEntity fileHistory) {
        fileHistoryMapper.insert(fileHistory);
    }
}
